package com.mz.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class SysRolePermission {

    @TableId( type= IdType.ASSIGN_ID )
    private Long id;
    private Long permissionId;
    private Long roleId;

    @TableLogic
    private Integer delFlag;

    @TableField( fill = FieldFill.INSERT)
    private Date createTime;
}
